<?php 
include("../inc/conn.inc");
//三帝币
$sys=1;//控制权限，删除了回复登陆查看信息
if($_POST[jifen]){
   $j_url=$_SERVER['HTTP_REFERER'];
   $j_rs=@mysql_query("select id,m_jifen from member where id='".$_COOKIE['user_id']."'");
   $j_row=@mysql_fetch_array($j_rs);
   
   $j_rs2=@mysql_query("select id from jifen where member_id='".$_COOKIE['user_id']."' and j_type='1' and j_url='$j_url'");
   $j_row2=@mysql_fetch_array($j_rs2);
   if($j_row2[id]){
      $sys=1;
   }else{
      if($j_row[m_jifen]<2){
	     
         echo "<script>alert('您的三帝币余额不足，请充值');location='$j_url'</script>";
      }else{
	     $j_number=$j_row[m_jifen]-2;
		 @mysql_query("update member set m_jifen='$j_number' where id='".$_COOKIE['user_id']."'");
		 @mysql_query("insert into jifen (member_id,j_type,j_num,j_name,add_time,j_url) values ($_COOKIE[user_id],'1','2','浏览买家信息','".date("Y-m-d H:i:s")."','$j_url')");
         $sys=1;
      }
   }
}

$rs=@mysql_query("select * from buy where id='".$_GET['id']."'");
$row=@mysql_fetch_array($rs);
$m_rs=@mysql_query("select id,m_type,m_user,m_name,m_cname,m_sex,c_mode,m_pic,m_rz_ok,m_rz_img from member where id='".$row['member_id']."'");
$m_row=@mysql_fetch_array($m_rs);
if($m_row['m_type']==6){
   $m_url="http://$m_row[m_user].sandib2b.cn";
   $m_url2="http://$m_row[m_user].sandib2b.cn/contact.htm";
   $m_url3="http://$m_row[m_user].sandib2b.cn/company.htm";
   $m_url4="http://$m_row[m_user].sandib2b.cn/product-list/1.htm";
}else{
   $m_url="/cn/template/$m_row[m_user]/";
   $m_url2="/cn/template/$m_row[m_user]/contact.html";
   $m_url3="/cn/template/$m_row[m_user]/company.html";
   $m_url4="/cn/template/$m_row[m_user]//product-list/1.html";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>求购-<?=$row[b_title]?><?php if($row[catalog_3]){echo "，求购".$row[catalog_3];}?><?php if($row[catalog_2]){echo "，求购".$row[catalog_2];}?><?php if($row[catalog_1]){echo "，求购".$row[catalog_1];}?>-产品求购</title>
<meta name="description" content="求购，<?=$row[b_title]?>，求购<?=$row[b_title]?>，求购<?=$row[b_title]?>产品信息，三帝贸易网求购频道提供求购<?=$row[b_title]?>产品信息。" />
<meta name="keywords" content="<?=$row[b_title]?>，求购<?=$row[b_title]?>，采购<?=$row[b_title]?>，采购<?=$row[p_title]?>产品，产品求购，三帝贸易网" />
<link href="../css/body.css" rel="stylesheet" type="text/css" />
<link href="../css/link.css" rel="stylesheet" type="text/css" />
<link href="../css/head_1.css" rel="stylesheet" type="text/css" />
<link href="../css/foot.css" rel="stylesheet" type="text/css" />
<link href="css/content.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#Layer1 {
	height: 230px;
	width: 260px;
	position: absolute;
	top: 300px;
}
-->
</style>
</head>
<body>
<?php include("../inc/head_top.php")?>
<div class="top1">
<div style="float:left;width:388px;"><a href="/"><img src="/images/logo.gif" alt="三帝贸易网" border="0"/></a></div>

<div class="top2menu">
<a href="/">首页</a>
<a href="/supply">供应</a>
<a href="/buy" class="hover">求购</a>
<a href="http://pifa.sandib2b.cn" target="_blank">批发</a>
<a href="http://jm.sandib2b.cn" target="_blank">加盟</a>   
<a href="http://jd.sandib2b.cn" target="_blank">借贷</a>
<a href="http://job.sandib2b.cn" target="_blank">招聘</a>
<a href="http://www.sandib2b.cn/expo/" target="_blank">展会</a>
<a href="http://zl.sandib2b.cn/" target="_blank">资料</a>
<a href="http://zb.sandib2b.cn/" target="_blank">招标</a>
<a href="http://dh.sandib2b.cn/" target="_blank">导航</a>
<div class="onl"></div>
</div>
<div class="top2search">
<form method="get" action="/buy/search.php" onsubmit="return buysearch()">
 <ul>
<li style="padding-top:1px;width:20px;">
</li>
<li><input name="subject" id="subject" type="text" class="input" /></li>
<li style="padding-top:1px;"><input type="image"  src="/images/3.gif"  />
</li>
</ul>
  </form>
<div class="onl"></div>
</div>
<script language="javascript">
function $(id){
return document.getElementById(id);
}
function buysearch(){
if($("subject").value==""){
alert("请输入产品名称");
$("subject").focus();
return false;
}
}
</script>
<div class="onl"></div>
</div>
<div class="onl"></div>
<div id="mian" class="topside6 side">
<div class="title1">您当位置:<a href="/">首页</a> >> <a href="/buy">求购</a> <?php if($row[catalog_id1]){?> >> <a href="/buy-catalog/<?=$row[catalog_id1]?>.html"><?=$row[catalog_1]?></a><?php }?><?php if($row[catalog_id2]){?> >> <a href="/buy-list/<?=$row[catalog_id2]?>/1.html"><?=$row[catalog_2]?></a><?php }?><?php if($row[catalog_id3]){?> >> <a href="/buy-list/<?=$row[catalog_id3]?>/1.html"><?=$row[catalog_3]?></a><?php }?> >> <?=$row[b_title]?></div>
<div class="onl"></div>
</div>
<div class="w960 topside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>
<div id="mian" class="topside6 sideblue">
<div class="title4 size14 b fontwhite"><?=$row[b_title]?></div>
<div class="leftmain topside6">
<div class="left">
<div class="proimages"><div id="Layer1" class="pngs"></div>
<table width="266" height="233" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td align="center">
<?php if($row[picture]){?><img src="/upfile/<?=$row[picture]?>" alt="<?=$row[p_title]?>" <?=imgstr("http://www.sandib2b.cn/upfile/$row[picture]","263","233")?> align="absmiddle"><?php }else{?><img src="/images/prono134.gif" width="263" height="233" alt="<?=$row[p_title]?>"><?php } ?></td>
    </tr>
  </table></div>
<div class="top7-2-6">
<a href="#" style="CURSOR: hand" onclick="javascript:window.external.AddFavorite('http://www.sandib2b.cn/buy/<?=$row['id']?>.html','<?=$row[b_title]?>')"><img src="images/gy_65.gif" width="9" border="0" height="9">&nbsp;收藏此信息</a>&nbsp;&nbsp;<a href="/buy-img/<?=$_GET[id]?>.html" target="_blank"><img src="images/picfd.gif" width="18" border="0" height="18"> 放大图片</a>


<br />
<br />
<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
                   <table width="100%" height="57" border="0" cellpadding="0" cellspacing="0">
                     <tr>
                       <td rowspan="2" align="center" bgcolor="#F7F7F7"><span class="jiathis_txt b">分<br />享<br />到<br /></span></td>
					   <td><a class="bds_qzone">QQ空间</a></td>
					   <td><a class="bds_tsina">新浪微博</a></td>
					   <td><a class="bds_tqq">腾讯微博</a></td>
                     </tr>
                     <tr>
                        <td><a class="bds_renren">人人网</a></td>
                        <td><a class="bds_hi">百度空间</a></td>
                        <td><div style="width: 2px;float: left;"></div><span class="bds_more">更多</span></td>
                     </tr>
				   </table>
               <!-- JiaThis Button END -->
</div>
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=524192" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
	document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
</script>


</div>
</div>
<div class="right">
  <table border="0" cellpadding="0" cellspacing="1" bgcolor="#F8F8F5">
    <tbody>
	<?php if(trim($row[b_pinpai])){?>
      <tr>
        <td width="84" height="28" align="right" bgcolor="#FFFFFF">品&nbsp;&nbsp;&nbsp;牌：</td>
        <td width="286" height="28" bgcolor="#FFFFFF" class="size14 b">&nbsp;&nbsp;<?=$row[b_pinpai]?></td>
      </tr>
	<?php }?>
	<?php if(trim($row[b_price])){?>
      <tr>
        <td width="84" height="28" align="right" bgcolor="#FFFFFF" >参考价格：</td>
        <td width="286" height="28" bgcolor="#FFFFFF" >&nbsp;&nbsp;<font color="#FF0000" style="font:Arial, Helvetica, sans-serif"><?=$row[b_price]?></font></td>
      </tr>
	<?php }?>
      <tr>
        <td width="84" height="28" align="right" bgcolor="#FFFFFF" >所属行业：</td>
        <td width="286" height="28" bgcolor="#FFFFFF">&nbsp;&nbsp;<?php if($row[catalog_1]){echo $row[catalog_1];}?>
          <?php if($row[catalog_2]){echo "、".$row[catalog_2];}?><?php if($row[catalog_3]){echo "、".$row[catalog_3];}?></td>
      </tr>
      <tr>
        <td width="84" height="28" align="right" bgcolor="#FFFFFF" >发布时间：</td>
        <td width="286" height="28" bgcolor="#FFFFFF">&nbsp;&nbsp;<?=date("Y年m月d日",strtotime($row[b_addtime]))?></td>
      </tr>
    </tbody>
  </table><br />
<br />
<div align="center"><a href="/inquire/index.php?to_id=<?=$m_row[id]?>&subject=<?=urlencode($row[b_title])?>&c_name=<?=urlencode($m_row[m_name])?>&t_type=2" target="_blank"><img src="/images/iprice2.gif" width="159" height="45" border="0" /></a></div>
<br />
</div>
<div class="onl"></div>
</div>
<?php if($_COOKIE[user_id]||!$_COOKIE[user_id]){
      $mrs=mysql_query("select * from member where id='".$_COOKIE['user_id']."'");
	  $mrow=mysql_fetch_array($mrs);
?>
         <?php if($mrow[m_type]==6||$sys==1){?>
               <div class="rightmain topside6 rightside6 downside6">
                  <ul class="companyinfo">
                       <li><span class="size18 fontblue"><?=$m_row['m_cname']?></span></li>
                       <li class="topside6"><a href="<?=$m_url?>" target="_blank"><img src="/images/home.gif" alt="<?=$m_row['m_cname']?>" width="104" height="29" border="0" /></a>&nbsp;&nbsp;<a href="<?=$m_url2?>" target="_blank"><img src="/images/contact.gif" alt="联系方式-<?=$m_row['m_cname']?>" height="29" border="0" /></a></li>
                       <li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?=$m_url3?>" target="_blank">公司介绍</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?=$m_url4?>" target="_blank">公司产品</a></li>
                       <li>&nbsp;&nbsp;&nbsp;&nbsp;联系人：<?=$m_row[m_name]?>[<?=$m_row[m_sex]?>]</li>
                       <li>&nbsp;&nbsp;&nbsp;&nbsp;企业类型：<?=$m_row['c_mode']?></li>
                       <li>&nbsp;&nbsp;&nbsp;&nbsp;经营模式：<?=$m_row['c_type']?></li>
                       <li style="margin-bottom: 6px;">&nbsp;&nbsp;&nbsp;&nbsp;会员等级：<?php if($m_row['m_type']==6){?><img src="/images/member.gif" border="0" align="absmiddle" /><?php }else{echo "普通会员";}?></li>
					   <?php if($m_row[m_rz_ok]){?><li style="margin-bottom: 6px;">&nbsp;&nbsp;&nbsp;&nbsp;身份认证：<img src="/images/renzheng.gif" width="43" height="26" border="0" align="absmiddle" /></li><?php }?>
<br />
                  </ul>
               </div>
       <?php }else{?>
               <div class="rightmain topside6 rightside6 downside6">
                  <div id="login_right">
                      <div class="loginbox topside6">
                         <div class="size16 checkcode downside">
                             <p>您现在是普通会员，本信息对钻石会员开放，普通会员查看该信息需要<font color="#FF0000">2</font>个三帝币。</p>
                             <p>会员账号：<?=$mrow[m_user]?></p>
                             <p>三帝币：<?=$mrow[m_jifen]?>个&nbsp;&nbsp;<a href="/member/pay.php">充值</a></p>
                             <p>会员等级：普通会员</p>
                             <p align="center"><form method="post" action="" onsubmit="return checkjifen()"><input type="hidden" name="jifen" value="<?=$mrow[m_jifen]?>"/><input type="image" src="/images/jfliulan.gif" /></form></p>
							 <script language="javascript">
							    function $(id){
								   return document.getElementById(id);
								}
							    function checkjifen(){
								   if($("jifen").value<2){
								    alert("您的三帝币已经不足，请充值");
									return false;
								   }
								}
							 </script>
                         </div>
                      </div>
                  </div>
               </div>
       <?php }?>
<?php }else{?>
<script language="javascript">
function $(id){
   return document.getElementById(id);
}
function checklogin(){
   if($("logUserName").value==""){
   alert("用户名不能为空");
   $("logUserName").focus();
   return false;
   }
   if($("logPassword").value==""){
   alert("密码不能为空");
   $("logPassword").focus();
   return false;
   }
   if($("c_code").value==""){
   alert("验证码不能为空");
   $("c_code").focus();
   return false;
   }
}
function test(img){
    var src=img.getAttribute("src");
    src=src+"?new="+Math.random(0,10);
    img.setAttribute("src",src);
}
function prepare(){
    var nav=document.getElementById("test");
    var name=nav.getAttribute("name");
    var str="test";
    if(name==str){
        nav.onclick=function(){
            var img=document.getElementById("img");
            test(img);
            return false;
        }
    }
}
window.onload=prepare;
</script>
<div class="rightmain topside6 rightside6 downside6">
<div id="login_right">
<div class="loginbox topside6">
	<div class="size16 b checkcode downside">登录查看联系方式：</div>
		<form method="post" action="/login.php" onsubmit="return checklogin()">
		  <div class='loginbox topside6'>
			<div>
			   <span  class='leftinput'>用户名</span>
			   <span><input id='logUserName' name="logUserName" size="12" class="login_text" type="text" /></span>
			</div>
			<div>
			   <span class='leftinput'>密&nbsp;&nbsp;&nbsp;&nbsp;码</span>
			   <span><input class="login_text" type="password" name="logPassword" size="12" id='logPassword' /></span>
			</div>
			<div>
			   <span class='leftinput'>验证码</span>
			   <span><input name="c_code" type="text" id='code' size="4" maxlength="6" />
			   </span>
			   <span><img src="/inc/chk_num.php" name="img" align="absmiddle" id="img"/></span><a href="#" name="test" id="test">看不清？</a>
			</div>
			<div class="sigbutt"><input name="submit1" value="登 录" type="submit" id="submitbtn"/></div>
		</div>
	</form>
<div class="regtext size16 b" style="height:45px;line-height:45px;">您还不是会员，<a href="/join">免费注册</a></div>
</div>
</div>
</div>
<?php }?>

<div class="rightmain topside6 rightside6 downside6">
<script type="text/javascript"><!--
google_ad_client = "pub-2924453545159453";
/* 250x250, 创建于 11-1-20 */
google_ad_slot = "4212697383";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<div class="onl"></div>
</div>
<div class="w960 topside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>

<div id="mian" class="topside6 sideblue">
<div class="title3 size12"><span>详细信息</span>
<div class="onl"></div>
</div>
<table width="960" border="0" cellpadding="0" cellspacing="0" class="table">
  <tbody>
    <tr>
      <td >
<?php if(trim($row[b_xinghao])){?>
<div class="procontent">
	  <table width="470" height="30" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
          <tbody>
            <tr>
              <td width="160" align="right" bgcolor="#F8F8F5" >型号：</td>
              <td width="310"><?=trim($row[b_xinghao])?></td>
            </tr>
          </tbody>
        </table></div>
<?php }?>
<?php if(trim($row[b_guige])){?>
<div class="procontent"><table width="470" height="30" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
          <tbody>
            <tr>
              <td width="160" align="right" bgcolor="#F8F8F5" >规格：</td>
              <td width="310" bgcolor="#FFFFFF"><?=trim($row[b_guige])?></td>
            </tr>
          </tbody>
        </table></div>
<?php }?>
<?php if(trim($row[b_price])){?>
<div class="procontent">
	  <table width="470" height="30" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
          <tbody>
            <tr>
              <td width="160" align="right" bgcolor="#F8F8F5" >参考价格：</td>
              <td width="310"><?=trim($row[b_price])?></td>
            </tr>
          </tbody>
        </table></div>
<?php }?>
<?php if(trim($row[b_baozhuang])){?>
<div class="procontent">
	  <table width="470" height="30" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
          <tbody>
            <tr>
              <td width="160" align="right" bgcolor="#F8F8F5" >包装：</td>
              <td width="310"><?=trim($row[b_baozhuang])?></td>
            </tr>
          </tbody>
        </table></div>
<?php }?>
<?php if(trim($row[b_cailiao])){?>
<div class="procontent">
	  <table width="470" height="30" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
          <tbody>
            <tr>
              <td width="160" align="right" bgcolor="#F8F8F5" >材料：</td>
              <td width="310"><?=$row[b_cailiao]?></td>
            </tr>
          </tbody>
        </table>
</div>
<?php }?>
<?php if(trim($row[b_changdi])){?>
<div class="procontent">
	  <table width="470" height="30" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
          <tbody>
            <tr>
              <td width="160" align="right" bgcolor="#F8F8F5" >产地：</td>
              <td width="310"><?=$row[b_changdi]?></td>
            </tr>
          </tbody>
        </table>
</div>
<?php }?>
<?php if(trim($row[b_jhtime])){?>
<div class="procontent">
	  <table width="470" height="30" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
          <tbody>
            <tr>
              <td width="160" align="right" bgcolor="#F8F8F5" >交货期：</td>
              <td width="310"><?=$row[b_jhtime]?></td>
            </tr>
          </tbody>
        </table>
</div>
<?php }?>
<?php if(trim($row[b_renzheng])){?>
<div class="procontent">
	  <table width="470" height="30" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
          <tbody>
            <tr>
              <td width="160" align="right" bgcolor="#F8F8F5" >产品认证：</td>
              <td width="310"><?=$row[b_renzheng]?></td>
            </tr>
          </tbody>
        </table>
</div>
<?php }?>
<?php if(trim($row[b_crz])){?>
<div class="procontent">
	  <table width="470" height="30" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
          <tbody>
            <tr>
              <td width="160" align="right" bgcolor="#F8F8F5" >企业认证</td>
              <td width="310"><?=$row[b_crz]?></td>
            </tr>
          </tbody>
        </table>
</div>
<?php }?>
<?php if(trim($row[b_minorder])){?>
<div class="procontent">
	  <table width="470" height="30" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
          <tbody>
            <tr>
              <td width="160" align="right" bgcolor="#F8F8F5" >最小起定量：</td>
              <td width="310"><?=$row[b_minorder]?></td>
            </tr>
          </tbody>
        </table>
</div>
<?php }?>
<?php if(trim($row[b_paytype])){?>
<div class="procontent">
	  <table width="470" height="30" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
          <tbody>
            <tr>
              <td width="160" align="right" bgcolor="#F8F8F5" >付款方式：</td>
              <td width="310"><?=$row[b_paytype]?></td>
            </tr>
          </tbody>
        </table>
</div>
<?php }?>
 </td>
    </tr>
  </tbody>
</table>
<div class="content size14">
<div style="width:730px;" align="center" class="downside20"><script type="text/javascript"><!--
google_ad_client = "pub-2924453545159453";
/* 728x90, 创建于 11-3-13 */
google_ad_slot = "7786933515";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<?=unhtml($row[b_info])?></div>
<div class="onl"></div>
</div>
<div id="mian">
<div class="messagesend sideblue">
<div class="title3 size12"><span>发送邮件到该企业</span>
<div class="onl"></div>
</div>
<div class="n-1"><?php if($m_row[m_pic]){?><img src="/upfile/<?=$m_row[m_pic]?>" border="0" <?=imgstr("http://www.sandib2b.cn/upfile/$m_row[m_pic]","100","100")?>/><?php }else{?><img src="/images/photo.gif" width="100" height="100"><?php }?>
<span class="b"><?=$m_row[m_name]?>(<?=$m_row[m_sex]?>)</span>
<span class="b"><a href="<?=$m_url2?>" target="_blank"><img src="images/contact_1.gif" alt="联系方式-<?=$m_row['m_cname']?>" width="157" height="43" border="0" /></a></span></div>
<div class="n-2">
<table width="98%" border="0" cellpadding="2" cellspacing="0" bgcolor="#F2F2F2">
<form name="form1" method="post" action="/inquire/sent.php" onSubmit="return check()">
<input name="inquire_subject" type="hidden" value="<?=$row[b_title]?>">
<input type="hidden" name="to_id" value="<?=$m_row[id]?>">
    <tr>
      <td width="15%" height="25" align="right">留言内容：</td>
      <td width="85%"><textarea name="inquire_content" cols="60" rows="5" style="width:520px;"></textarea></td>
    </tr>
    <tr>
      <td height="25" align="right">联系人：</td>
      <td><input name="inquire_name" type="text" size="20" maxlength="20" /> <font color="#FF0000">*</font></td>
    </tr>
    <tr>
      <td height="25" align="right">联系电话：&nbsp;</td>
      <td><input name="inquire_tel" type="text" size="20" maxlength="20" /> <font color="#FF0000">*</font></td>
    </tr>
    <tr>
      <td height="25" align="right">邮箱：</td>
      <td><input name="inquire_email" type="text" size="30" maxlength="200" /></td>
    </tr>
    <tr>
      <td height="25" align="right">QQ/MSN：</td>
      <td><input name="inquire_qq" type="text" size="25" maxlength="200" /></td>
    </tr>
    <tr>
      <td height="25" align="right">联系地址：</td>
      <td><input name="inquire_addr" type="text" size="40" maxlength="250" /> <font color="#FF0000">*</font></td>
    </tr>
    <tr>
      <td height="25" align="right">验证码：</td>
      <td><input name="c_code" type="text" class="input" maxlength="6" style="width:60px;">
    &nbsp;&nbsp;<img src="/inc/chk_num.php" name="img" width="90" height="30" align="absmiddle" id="img">&nbsp;&nbsp;<a href="#" name="can not see" id="test">刷新</a></td>
    </tr>
    <tr>
      <td height="25" align="right">&nbsp;</td>
      <td><input type="submit" value=" 提 交 " /></td>
    </tr>
	</form>
  </table>
</div>
<div class="onl"></div>
</div></div>
<div id="mian" class="topside6 sideblue">
<div class="title3 size12"><span>更多求购产品</span>
  <div class="onl"></div>
</div>
<div class="company">
<ul>
<?php
$p_rs=@mysql_query("select id,picture,b_title from buy where b_sh=1 order by id desc limit 6");
while($p_row=@mysql_fetch_array($p_rs)){
?>
<li><a href="<?=$p_row['id']?>.html">
<?php if($p_row[picture]){?>
<img src="/upfile/<?=$p_row['picture']?>" width="120" height="125" border="0" />
<?php }else{?>
<img src="/images/prono88.gif" width="120" height="125" border="0" />
<?php }?>
</a>
<span><a href="<?=$p_row['id']?>.html"><?=mb_substr($p_row[b_title],0,10,'utf-8')?></a></span></li>
<?php }?>

</ul>
<div class="onl"></div>
</div>
<div class="onl"></div>
</div>
<div class="w960 topside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>
<div id="mian" class="topside6">
<div class="content size14">
免责声明:以上信息由企业自行提供，该企业负责信息内容的真实性、准确性和合法性，三帝贸易网对此不承担任何责任。
<br />
友情提示:为保障您的利益，建议优先选择钻石会员。（请您在交易时一定要慎重，付款最好选择第三方担保支付平台。）<br />
<font color="#FF0000"><b>为了节省您的时间，您在求购过程中没找到合适产品或供应商，请发布紧急求购产品信息。让商家联系您。&nbsp;&nbsp;<a href="/caigou/" target="_blank">立即发布紧急求购</a></b></font>
</div>
</div>
<?php include("../inc/foot.php");?>
</BODY>
</HTML>

<script language="javascript">
function $(id){
return document.getElementById(id);
}
function check(){
if($("inquire_content").value==""){
alert("留言内容不能为空");
$("inquire_content").focus();
return false;
}
if($("inquire_name").value==""){
alert("请留下您的姓名");
$("inquire_name").focus();
return false;
}
if($("inquire_tel").value==""){
alert("请留下您的电话或手机");
$("inquire_tel").focus();
return false;
}

if($("inquire_addr").value==""){
alert("请留下您的联系地址");
$("inquire_addr").focus();
return false;
}

if($("c_code").value==""){
alert("验证码不能为空");
$("c_code").focus();
return false;
}
}


function test(img){
    var src=img.getAttribute("src");
    src=src+"?new="+Math.random(0,10);
    img.setAttribute("src",src);
}
function prepare(){
    var nav=document.getElementById("test");
    var name=nav.getAttribute("name");
    var str="can not see";
    if(name==str){
        nav.onclick=function(){
            var img=document.getElementById("img");
            test(img);
            return false;
        }
    }
}
window.onload=prepare;
</script>

<script type="text/javascript">/*120*270，创建于2011-3-23*/ var cpro_id = 'u419785';</script><script src="http://cpro.baidu.com/cpro/ui/f.js" type="text/javascript"></script>

